package com.hibase.core.api.service.permission;

import com.github.pagehelper.PageInfo;
import com.hibase.core.api.entity.permission.MsdApiPermission;
import com.hibase.core.api.entity.permission.vo.MsdApiPermissionSearchVO;
import com.hibase.core.mybatis.service.BaseService;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lierh
 * @since 2020-10-10
 */
public interface MsdApiPermissionService extends BaseService<MsdApiPermission> {

    /**
     * 查询列表
     *
     * @param searchVO
     * @return
     */
    PageInfo<MsdApiPermission> selectMsdApiPermissionList(MsdApiPermissionSearchVO searchVO);

    /**
     * 改变记录
     *
     * @param entity
     * @return
     */
    void saveMsdApiPermission(MsdApiPermission entity);

    /**
     * 查询详情
     *
     * @param id
     * @return
     */
    MsdApiPermission viewMsdApiPermission(String id);

    /**
     * 删除
     *
     * @param id
     */
    void deleteMsdApiPermission(String id);
}
